package com.easybuilder.common.annotation;

import com.easybuilder.common.enums.RelationType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.TYPE})
public @interface SqlCondition {

    String property() default "";

    RelationType relationType() default RelationType.equals;
}
